version: '2'
services:
  davsrvservice:
    image: davsrv
    hostname: davsrvcontainer
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - 0.0.0.0:80:80
    volumes:
      - davsrvvol:/var/www/html/
      - ./htpasswd:/etc/apache2/htpasswd
  
volumes:
  davsrvvol:
